<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:71:"D:\adobe\wamp\www\tp6\public/../application/index\view\stu\parents.html";i:1554780672;}*/ ?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>学生信息确认</title>
	<link rel="stylesheet" type="text/css" href="/tp6/public/static/bootstrap-3.3.7/css/bootstrap.min.css" />
	<script type="text/javascript" src="/tp6/public/static/js/jquery.3.3.1.min.js"></script>
	<script type="text/javascript">
		$(function(){
				$("#relation1").val(<?php echo $info['relation1']; ?>)
		});
	</script>
</head>
<body>

		<table class="table">
			<caption><h5><center><b>家长信息补录</b></center></h5></caption>
			<form action="<?php echo url('parentsWrite'); ?>" method="post">
				  <tbody>
				    <tr class="active">
				      <td><label for="relation1">家长1与本人关系</label></td>
				      <td>
						<select name="relation1" id="relation1">
							<option value=""<?php if($info['relation1'] == ''): ?> selected="selected"<?php endif; ?>  >--与本人的关系--</option>
							<option value="1"<?php if($info['relation1'] == '1'): ?> selected="selected"<?php endif; ?> >父亲</option>
							<option value="2"<?php if($info['relation1'] == '2'): ?> selected="selected"<?php endif; ?> >母亲</option>
							<option value="3"<?php if($info['relation1'] == '3'): ?> selected="selected"<?php endif; ?> >其他</option>
						</select>
				      </td>
				    </tr>
				    <tr class="success">
				      <td><label for="pname1">家长1姓名</label></td>
				      <td><input type="" name="pname1" id="pname1" value="<?php echo $info['pname1']; ?>"></td>
				    </tr>
				    <tr class="warning">
				      <td>家长1身份证号</td>
				      <td><input type="" name="pidnum1" id="pidnum1" value="<?php echo $info['pidnum1']; ?>"></td>
				    </tr>
				   <tr class="active">
				      <td><label for="relation2">家长2与本人关系</label></td>
				      <td>
						<select name="relation2" id="relation2">
							<option value=""<?php if($info['relation2'] == ''): ?> selected="selected"<?php endif; ?>  >--与本人的关系--</option>
							<option value="1"<?php if($info['relation2'] == '1'): ?> selected="selected"<?php endif; ?> >父亲</option>
							<option value="2"<?php if($info['relation2'] == '2'): ?> selected="selected"<?php endif; ?> >母亲</option>
							<option value="3"<?php if($info['relation2'] == '3'): ?> selected="selected"<?php endif; ?> >其他</option>
						</select>
				      </td>
				    </tr>
				   <tr class="success">
				      <td><label for="pname1">家长2姓名</label></td>
				      <td><input type="" name="pname2" id="pname2" value="<?php echo $info['pname2']; ?>"></td>
				    </tr>
				     <tr class="warning">
				      <td>家长2身份证号</td>
				      <td><input type="" name="pidnum2" id="pidnum2" value="<?php echo $info['pidnum2']; ?>"></td>
				    </tr>
				  </tbody>
				  </form>
				</table>
			</div>
		</div>
	</div>
	<p class="text-center"><a href="<?php echo url('Stu/second'); ?>"><button type="button" class="btn btn-primary">信息无误</button></a></p>
</body>
</html>